package com.intellagric.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AgtAgritechExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AgtAgritechExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andResourceIdIsNull() {
            addCriterion("resource_id is null");
            return (Criteria) this;
        }

        public Criteria andResourceIdIsNotNull() {
            addCriterion("resource_id is not null");
            return (Criteria) this;
        }

        public Criteria andResourceIdEqualTo(String value) {
            addCriterion("resource_id =", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotEqualTo(String value) {
            addCriterion("resource_id <>", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdGreaterThan(String value) {
            addCriterion("resource_id >", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdGreaterThanOrEqualTo(String value) {
            addCriterion("resource_id >=", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLessThan(String value) {
            addCriterion("resource_id <", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLessThanOrEqualTo(String value) {
            addCriterion("resource_id <=", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLike(String value) {
            addCriterion("resource_id like", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotLike(String value) {
            addCriterion("resource_id not like", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdIn(List<String> values) {
            addCriterion("resource_id in", values, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotIn(List<String> values) {
            addCriterion("resource_id not in", values, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdBetween(String value1, String value2) {
            addCriterion("resource_id between", value1, value2, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotBetween(String value1, String value2) {
            addCriterion("resource_id not between", value1, value2, "resourceId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdIsNull() {
            addCriterion("species_id is null");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdIsNotNull() {
            addCriterion("species_id is not null");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdEqualTo(String value) {
            addCriterion("species_id =", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdNotEqualTo(String value) {
            addCriterion("species_id <>", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdGreaterThan(String value) {
            addCriterion("species_id >", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdGreaterThanOrEqualTo(String value) {
            addCriterion("species_id >=", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdLessThan(String value) {
            addCriterion("species_id <", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdLessThanOrEqualTo(String value) {
            addCriterion("species_id <=", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdLike(String value) {
            addCriterion("species_id like", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdNotLike(String value) {
            addCriterion("species_id not like", value, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdIn(List<String> values) {
            addCriterion("species_id in", values, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdNotIn(List<String> values) {
            addCriterion("species_id not in", values, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdBetween(String value1, String value2) {
            addCriterion("species_id between", value1, value2, "speciesId");
            return (Criteria) this;
        }

        public Criteria andSpeciesIdNotBetween(String value1, String value2) {
            addCriterion("species_id not between", value1, value2, "speciesId");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleIsNull() {
            addCriterion("agritech_title is null");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleIsNotNull() {
            addCriterion("agritech_title is not null");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleEqualTo(String value) {
            addCriterion("agritech_title =", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleNotEqualTo(String value) {
            addCriterion("agritech_title <>", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleGreaterThan(String value) {
            addCriterion("agritech_title >", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleGreaterThanOrEqualTo(String value) {
            addCriterion("agritech_title >=", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleLessThan(String value) {
            addCriterion("agritech_title <", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleLessThanOrEqualTo(String value) {
            addCriterion("agritech_title <=", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleLike(String value) {
            addCriterion("agritech_title like", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleNotLike(String value) {
            addCriterion("agritech_title not like", value, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleIn(List<String> values) {
            addCriterion("agritech_title in", values, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleNotIn(List<String> values) {
            addCriterion("agritech_title not in", values, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleBetween(String value1, String value2) {
            addCriterion("agritech_title between", value1, value2, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechTitleNotBetween(String value1, String value2) {
            addCriterion("agritech_title not between", value1, value2, "agritechTitle");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractIsNull() {
            addCriterion("agritech_abstract is null");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractIsNotNull() {
            addCriterion("agritech_abstract is not null");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractEqualTo(String value) {
            addCriterion("agritech_abstract =", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractNotEqualTo(String value) {
            addCriterion("agritech_abstract <>", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractGreaterThan(String value) {
            addCriterion("agritech_abstract >", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractGreaterThanOrEqualTo(String value) {
            addCriterion("agritech_abstract >=", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractLessThan(String value) {
            addCriterion("agritech_abstract <", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractLessThanOrEqualTo(String value) {
            addCriterion("agritech_abstract <=", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractLike(String value) {
            addCriterion("agritech_abstract like", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractNotLike(String value) {
            addCriterion("agritech_abstract not like", value, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractIn(List<String> values) {
            addCriterion("agritech_abstract in", values, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractNotIn(List<String> values) {
            addCriterion("agritech_abstract not in", values, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractBetween(String value1, String value2) {
            addCriterion("agritech_abstract between", value1, value2, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechAbstractNotBetween(String value1, String value2) {
            addCriterion("agritech_abstract not between", value1, value2, "agritechAbstract");
            return (Criteria) this;
        }

        public Criteria andAgritechContentIsNull() {
            addCriterion("agritech_content is null");
            return (Criteria) this;
        }

        public Criteria andAgritechContentIsNotNull() {
            addCriterion("agritech_content is not null");
            return (Criteria) this;
        }

        public Criteria andAgritechContentEqualTo(String value) {
            addCriterion("agritech_content =", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentNotEqualTo(String value) {
            addCriterion("agritech_content <>", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentGreaterThan(String value) {
            addCriterion("agritech_content >", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentGreaterThanOrEqualTo(String value) {
            addCriterion("agritech_content >=", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentLessThan(String value) {
            addCriterion("agritech_content <", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentLessThanOrEqualTo(String value) {
            addCriterion("agritech_content <=", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentLike(String value) {
            addCriterion("agritech_content like", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentNotLike(String value) {
            addCriterion("agritech_content not like", value, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentIn(List<String> values) {
            addCriterion("agritech_content in", values, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentNotIn(List<String> values) {
            addCriterion("agritech_content not in", values, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentBetween(String value1, String value2) {
            addCriterion("agritech_content between", value1, value2, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechContentNotBetween(String value1, String value2) {
            addCriterion("agritech_content not between", value1, value2, "agritechContent");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoIsNull() {
            addCriterion("agritech_video is null");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoIsNotNull() {
            addCriterion("agritech_video is not null");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoEqualTo(String value) {
            addCriterion("agritech_video =", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoNotEqualTo(String value) {
            addCriterion("agritech_video <>", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoGreaterThan(String value) {
            addCriterion("agritech_video >", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoGreaterThanOrEqualTo(String value) {
            addCriterion("agritech_video >=", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoLessThan(String value) {
            addCriterion("agritech_video <", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoLessThanOrEqualTo(String value) {
            addCriterion("agritech_video <=", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoLike(String value) {
            addCriterion("agritech_video like", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoNotLike(String value) {
            addCriterion("agritech_video not like", value, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoIn(List<String> values) {
            addCriterion("agritech_video in", values, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoNotIn(List<String> values) {
            addCriterion("agritech_video not in", values, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoBetween(String value1, String value2) {
            addCriterion("agritech_video between", value1, value2, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechVideoNotBetween(String value1, String value2) {
            addCriterion("agritech_video not between", value1, value2, "agritechVideo");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverIsNull() {
            addCriterion("agritech_cover is null");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverIsNotNull() {
            addCriterion("agritech_cover is not null");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverEqualTo(String value) {
            addCriterion("agritech_cover =", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverNotEqualTo(String value) {
            addCriterion("agritech_cover <>", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverGreaterThan(String value) {
            addCriterion("agritech_cover >", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverGreaterThanOrEqualTo(String value) {
            addCriterion("agritech_cover >=", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverLessThan(String value) {
            addCriterion("agritech_cover <", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverLessThanOrEqualTo(String value) {
            addCriterion("agritech_cover <=", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverLike(String value) {
            addCriterion("agritech_cover like", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverNotLike(String value) {
            addCriterion("agritech_cover not like", value, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverIn(List<String> values) {
            addCriterion("agritech_cover in", values, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverNotIn(List<String> values) {
            addCriterion("agritech_cover not in", values, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverBetween(String value1, String value2) {
            addCriterion("agritech_cover between", value1, value2, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andAgritechCoverNotBetween(String value1, String value2) {
            addCriterion("agritech_cover not between", value1, value2, "agritechCover");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNull() {
            addCriterion("updated_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNotNull() {
            addCriterion("updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeEqualTo(Date value) {
            addCriterion("updated_time =", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotEqualTo(Date value) {
            addCriterion("updated_time <>", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThan(Date value) {
            addCriterion("updated_time >", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_time >=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThan(Date value) {
            addCriterion("updated_time <", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("updated_time <=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIn(List<Date> values) {
            addCriterion("updated_time in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotIn(List<Date> values) {
            addCriterion("updated_time not in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("updated_time between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("updated_time not between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("del_flag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("del_flag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}